//app.js
App({
  onHide () {
    this.data.webShowed = false;
  },
  onLaunch () {
    // 登录
    wx.login({
      success: (res) => {
        if (this.userInfoReadyCallback) {
          this.userInfoReadyCallback(res.code)
        }
      }
    })
  },
  data : {
    webShowed : false,
    openId : ''
  }
})